﻿using AutoMapper;
using Navigant.DataContracts;
using Navigant.Infrastructure.Cases;

namespace Navigant.Mapping
{
    public class CaseConverter : ITypeConverter<ICase, CaseContract>
    {
        #region ITypeConverter<ICase,CaseContract> Members

        public CaseContract Convert(ICase source)
        {
            return Converter.ToCaseContract(source);
        }

        #endregion
    }
}
